function G = groupFind(groupInfor, p)
ngroup = size(groupInfor, 2);
for i = 1 : ngroup
    group = groupInfor{i};
    if ~isempty(find(group == p, 1))
        G = i;
        break;
    end
end
end

